package com.hospital.service.intf;

import com.hospital.dto.EmployeeExportDto;
import com.hospital.entity.Employee;
import com.hospital.vo.BarVo;
import com.hospital.vo.JovPieVo;
import com.hospital.vo.PageBean;
import com.hospital.vo.R;

import java.util.List;

public interface EmployeeService {

    R add(Employee employee);

    R delete(Integer id);

    R update(Employee employee);

    PageBean selectPage(String name,String job_name, int start, int limit);

    R deleteByIds(String ids);

    List<BarVo> sexBarData();

    List<EmployeeExportDto> all();

    R selectById(Integer id);

    List<JovPieVo> jobPieData();
}
